export namespace SystemAction {
  export class Init {
    static readonly type = `初始化`;
  }

  export class Backup {
    static readonly type = `立即备份`;
  }

  export class LoadBackupList {
    static readonly type = `读取备份列表`;
  }

  export class Revert {
    static readonly type = `立即还原`;

    constructor(public path: any) {
    }
  }

  export class LoadConfigList {
    static readonly type = `加载配置列表`;
  }

  export class ConfigSave {
    static readonly type = `保存配置`;

    constructor(public data: any) {
    }
  }

  export class ConfigNew {
    static readonly type = `新建配置`;

    constructor(public data: any) {
    }
  }

  export class SetDefaultConfig {
    static readonly type = `设置默认配置`;

    constructor(public data: any) {
    }
  }

  export class DeleteConfig {
    static readonly type = `删除配置`;

    constructor(public data: any) {
    }
  }

}
